package captcha

import (
	"context"
	"gf-xb-api/internal/service"

	v1 "gf-xb-api/api/captcha/v1"
)

func (c *ControllerV1) Create(ctx context.Context, req *v1.CreateReq) (res *v1.CreateRes, err error) {
	res, err = service.Captcha().Create(ctx)
	if err != nil {
		return nil, err
	}

	return res, nil
}
